/*
 *  ValueRef.java
 *
 *  $Id: Coextensive.java 45 2012-06-12 23:06:24Z johann.petrak@gmail.com $
 */

package at.ofai.gate.japeutils.ops;

import at.ofai.gate.japeutils.JapeUtils;
import gate.Annotation;
import gate.AnnotationSet;
import gate.jape.constraint.*;


/**
 *
 * @author Johann Petrak
 */
public class Coextensive extends EmbeddedConstraintPredicate {

  @Override
  protected AnnotationSet doMatch(Annotation annot, AnnotationSet as) {
    return
      JapeUtils.getAnnsCoextensive(as, annotType, annot);
  }

  public String getOperator() {
    return "coextensive";
  }
}
